package model.person;

public class Member extends Person {
	private float contribution;

	public Member(String firstName, String lastname, float contribution) {
		super(firstName, lastname);
		this.contribution = contribution;
	}

	public float getContribution() {
		return contribution;
	}

	public void setContribution(float contribution) {
		this.contribution = contribution;
	}

	
	@Override
	public String toString() {
		return "Member [firstName=" + firstName + ", lastname=" + lastname + ", contribution=" + contribution + "]";
	}


}
